package com.hnjfzn.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hnjfzn.system.api.domain.SysInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysInfoMapper extends BaseMapper<SysInfo> {

    /**
     * 根据用户ID查询权限
     *
     * @param userId 用户ID
     * @return 权限列表
     */
    List<SysInfo> selectSysPermsByUserId(@Param("userId") Long userId);
}
